package com.zxy;

public class demo05 {
    public static void main(String[] args) {
        String s = "123321";
        StringBuilder b001 = new StringBuilder(s);
        b001.reverse();
        String s2 = b001.toString();
        if (s.equals(s2)) {
            System.out.println("对称");
        }
    }
}
